package com.goodving.guli.model.uploadhelper;


import com.goodving.guli.bt.profile.scale.GuliLog;

/* renamed from: cn.com.smartdevices.bracelet.i.c */
public class C1315c {
    private static final int f6682a = 0;
    private static final int f6683b = 1;
    private static final int f6684c = 2;
    private static final int f6685d = 6;
    private static final int f6686e = 10;
    private static final int f6687f = 18;
    private static final int f6688g = 38;
    private int f6689h;
    private C1312a f6690i;
    private int f6691j;
    private String f6692k;

    public C1315c() {
        this.f6689h = f6682a;
    }

    public void m11526a() {
        this.f6689h = f6685d;
    }

    public void m11527a(int i) {
        this.f6691j = i;
    }

    public void m11528a(C1312a c1312a) {
        this.f6689h = f6687f;
        this.f6690i = c1312a;
    }

    public void m11529a(String str) {
        this.f6692k = str;
    }

    public void m11530a(boolean z) {
        if (z) {
            m11526a();
        } else {
            m11531b();
        }
    }

    public void m11531b() {
        this.f6689h = f6686e;
    }

    public void m11532b(String str) {
        if (m11535e()) {
            GuliLog.tracePrintInfo(str, "State -> Idle...");
        } else if (m11536f()) {
            GuliLog.tracePrintInfo(str, "State -> Start...");
        } else if (!m11537g()) {
        } else {
            if (m11538h()) {
                GuliLog.tracePrintInfo(str, "State -> Finish : Success!!");
            } else if (m11539i()) {
                GuliLog.tracePrintInfo(str, "State -> Finish : Failure!!");
            } else if (m11540j()) {
                GuliLog.m12353a(str, "State -> Finish : Exception!!", this.f6690i);
            } else if (m11541k()) {
                GuliLog.tracePrintInfo(str, "State -> Finish : Passon!!");
            }
        }
    }

    public void m11533c() {
        this.f6689h = f6688g;
    }

    public void m11534d() {
        m11528a(new C1312a(f6682a));
    }

    public boolean m11535e() {
        return this.f6689h == 0;
    }

    public boolean m11536f() {
        return (this.f6689h & f6683b) == f6683b;
    }

    public boolean m11537g() {
        return (this.f6689h & f6684c) == f6684c;
    }

    public boolean m11538h() {
        return (this.f6689h & f6685d) == f6685d;
    }

    public boolean m11539i() {
        return (this.f6689h & f6686e) == f6686e;
    }

    public boolean m11540j() {
        return (this.f6689h & f6687f) == f6687f;
    }

    public boolean m11541k() {
        return (this.f6689h & f6688g) == f6688g;
    }

    public C1312a m11542l() {
        return this.f6690i;
    }

    public int m11543m() {
        return this.f6691j;
    }

    public String m11544n() {
        return this.f6692k;
    }
}
